﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace eCitizen.DataContracts
{
    [XmlRoot("SENDSmsBROADCASTREQ")]
    public class SmsMessageList
    {
        public SmsMessageList() { SmsMessages = new List<SmsMessage>();  }
        [XmlElement(ElementName="Sms")]
        public List<SmsMessage> SmsMessages { get; set; }
    }

    [Serializable]
    public class SmsMessage
    {
        [XmlElement(ElementName = "AGENCYREF")] public string AgencyId { get; set; }
        [XmlElement(ElementName = "DEST")] public string HandPhone { get; set; }
        [XmlElement(ElementName = "MSG")] public string MessageContent { get; set; }
    }
}
